﻿using System.Collections;

namespace WpfAdvControls.Tree
{
    public interface ITreeModel
    {
        /// <summary>
        ///     Get list of children of the specified parent
        /// </summary>
        IEnumerable GetChildren(object parent);

        /// <summary>
        ///     returns wheather specified parent has any children or not.
        /// </summary>
        bool HasChildren(object parent);
    }
}